package com.nbcio.online.service;

import java.util.List;
import java.util.Map;

import com.nbcio.common.mybatis.core.page.PageQuery;
import com.nbcio.common.mybatis.core.page.TableDataInfo;
import com.nbcio.generator.domain.GenTable;

public interface IFormService {

	Map<String, Object> getOnlineForm(Long tableId);

	TableDataInfo<GenTable> selectPageGenTableList(GenTable genTable, PageQuery pageQuery);

	TableDataInfo<Map> listOnlineData(Long tableId, String tableName, PageQuery pageQuery);

	int addOrUpdateOnlineData(Long tableId, String tableName, Map<String, Object> map);

	void deleteOnlineData(Long tableId, String tableName, List<Long> ids);

	Map<String, Object> getOnlineData(Long tableId, String tableName, Long id);
   
}
